package com.xnfh.planting.weight

import android.annotation.SuppressLint
import android.content.Context
import android.util.AttributeSet
import android.view.MotionEvent
import android.widget.Button

/**
 * @Description:
 * @Author: ziheng
 * @CreateDate: 2023/12/18 15:29
 * @UpdateUser: ziheng
 * @UpdateDate: 2023/12/18 15:29
 * @UpdateRemark: 更新说明
 */
@SuppressLint("AppCompatCustomView")
class NoEventButton: Button {
    constructor(context: Context?) : super(context)
    constructor(context: Context?, attrs: AttributeSet?) : super(context, attrs)
    constructor(context: Context?, attrs: AttributeSet?, defStyleAttr: Int) : super(context, attrs, defStyleAttr)

    override fun onTouchEvent(event: MotionEvent?): Boolean {
        return false
    }

}